package com.nai365.nart.member.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.*;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("ums_user_bank")
@ApiModel(value = "用户银行卡")
public class UserBank  extends Model<UserBank> {

	@TableId(type = IdType.ASSIGN_ID)
	private Long id;//` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',

	private Long userId;//` int(11) NOT NULL DEFAULT 0 COMMENT '用户',

	private String bankAccount;//` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '银行卡账号',

	private String bankName;//` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '银行卡名称',

	private String bankOpening;//` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '开户行',

	private String bankPhone;//` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '银行手机号',

	private Date updateTime;//` int(11) NOT NULL DEFAULT 0 COMMENT '修改时间',

	private String realName;//
}
